package com.icinfo.cloud.provider.punish.ucase.casemain.vo;

import com.icinfo.cloud.provider.punish.ucase.casemain.model.CaseMainDetailSimpleInfo;
import com.icinfo.cloud.provider.punish.ucase.casemain.model.CaseReasonMainRecord;
import lombok.Data;

@Data
public class TrafficInformationVo {

    /**
     * 驾驶证编号
     */
    private String licenseNumber;

    /**
     * 驾驶证档案编号
     */
    private String licenseFileNumber;

    /**
     * 准驾车型
     */
    private String allowCarType;

    /**
     * 车牌号码
     */
    private String licensePlateNumber;

    /**
     * 车辆类型
     */
    private String carType;

    /**
     * 发证机关
     */
    private String licenceDepartment;

    public TrafficInformationVo() {
    }

    public TrafficInformationVo(CaseMainDetailSimpleInfo info) {
        this.licenseNumber = info.getLicenseNumber();
        this.licenseFileNumber = info.getLicenseFileNumber();
        this.allowCarType = info.getAllowCarType();
        this.licensePlateNumber = info.getLicensePlateProvince() + info.getLicensePlateNumber();
        this.carType = info.getCarType();
        this.licenceDepartment = info.getLicenceDepartment();
    }
}
